The copy( ) Function is used to copy the contents of a List into a new List.
x = ["Mohan", "Kriti", "Salim"] y = x.copy() print("The Copied List is ",y)
So, in the above code we have created a 'List' and initialised to the variable 'x'.
Below is how the values are positioned in the List,
Then we have used the 'copy( )' method that would create an exact copy of 'x'. And assign it to 'y'.
And we get the below output,